From f08153711bf06485b77c11719d58dc04d497e162 Mon Sep 17 00:00:00 2001 From: robertl Date: Thu, 30 Nov 2006 03:18:04 +0000 Subject: [PATCH] Tweak error prose for malformed magellanx routes. --- gpsbabel/magproto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsbabel/magproto.c b/gpsbabel/magproto.c index df67ee403..ba41189cf 100644 --- a/gpsbabel/magproto.c +++ b/gpsbabel/magproto.c @@ -972,10 +972,10 @@ mag_rteparse(char *rtemsg) char *ca, *ce; ca = rtemsg + n; - is_fatal(*ca++ != ',', MYNAME ": Wrong formated line!"); + is_fatal(*ca++ != ',', MYNAME ": Incorrectly formatted route line '%s'", rtemsg); ce = strchr(ca, ','); - is_fatal(ce == NULL, MYNAME ": Wrong formated line!"); + is_fatal(ce == NULL, MYNAME ": Incorrectly formatted route line '%s'", rtemsg); if (ca == ce) xasprintf(&rte_name, "Route%d", rtenum); -- 2.30.2